/*
 * *******************************************************************
 *   @项目名称: BHex Android
 *   @文件名称: OtcItemResponse.java
 *   @Date: 19-1-17 下午3:49
 *   @Author: ppzhao
 *   @Description:
 *   @Copyright（C）: 2019 BlueHelix Inc.   All rights reserved.
 *   注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的.
 *  *******************************************************************
 */

package io.bhex.sdk.otc.bean;

import java.util.List;

import io.bhex.baselib.network.response.BaseResponse;

public class OtcItemResponse extends BaseResponse {

    /**
     * id : 369401402682712
     * accountId : 720193876362027
     * nickName : 江旭
     * tokenId : BTC
     * currencyId : CNY
     * side : 1
     * priceType : 0
     * price : 22222.00
     * premium : 0
     * lastQuantity : 0.420000
     * quantity : 5.000000
     * frozenQuantity : 3.140000
     * executedQuantity : 1.440000
     * minAmount : 100.00
     * maxAmount : 100000.00
     * remark :
     * status : 10
     * createDate : 1545799241000
     * payments : []
     * paymentTerms : [{"realName":"江 旭","paymentType":0,"bankName":"ABC","branchName":"","accountNo":"5289311370635965","qrcode":"/s_api/os//s_api/os//s_api/os/89741120451903488/dhzETpDp7lJJzmYJDjT3AhnIhNsAEmW4w2uoj8c9KOc.png?e=1541928661&token=6A12nkXTSgvKakAnP6LrxKEvz0HB0y-bMVE-b-XuOMU=?e=1541935267&token=jkG0yfVGIR7tCXFWUQ1-Lyhrey-J8suFMuOPkxR-mRA=?e=1547713104&token=7-SH9wtjwQUmzJ1Zj4nxeqA9Qoo67JOWmK4Mn4bJwZs=","visible":0},{"realName":"江 旭","paymentType":1,"bankName":"","branchName":"","accountNo":"580348503453451","qrcode":"/s_api/os/89741120451903488/uBhiGQNOz1m55rSTFEzvgNi6PM7F6nItv2Xn7NJv_Us.png?e=1547713104&token=7-SH9wtjwQUmzJ1Zj4nxeqA9Qoo67JOWmK4Mn4bJwZs=","visible":0},{"realName":"江 旭","paymentType":2,"bankName":"","branchName":"","accountNo":"55354354351","qrcode":"/s_api/os/89741120451903488/qfPniDe_LxLeuA7OQX5PYKsNweb2e8hzzr7wnfi7EYc.png?e=1547713104&token=7-SH9wtjwQUmzJ1Zj4nxeqA9Qoo67JOWmK4Mn4bJwZs=","visible":0}]
     * orderNum : 0
     * finishNum : 0
     * recentOrderNum : 0
     * recentExecuteRate : 0
     */

    private String id;
    private String accountId;
    private String nickName;
    private String tokenId;
    private String currencyId;
    private int side;
    private int priceType;
    private String price;
    private String premium;
    private String lastQuantity;
    private String quantity;
    private String frozenQuantity;
    private String executedQuantity;
    private String minAmount;
    private String maxAmount;
    private String remark;
    private int status;
    private String createDate;
    private int orderNum;
    private int finishNum;
    private int recentOrderNum;
    private int recentExecuteRate;
    private List<Integer> payments;
    private List<PaymentTermsBean> paymentTerms;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getTokenId() {
        return tokenId;
    }

    public void setTokenId(String tokenId) {
        this.tokenId = tokenId;
    }

    public String getCurrencyId() {
        return currencyId;
    }

    public void setCurrencyId(String currencyId) {
        this.currencyId = currencyId;
    }

    public int getSide() {
        return side;
    }

    public void setSide(int side) {
        this.side = side;
    }

    public int getPriceType() {
        return priceType;
    }

    public void setPriceType(int priceType) {
        this.priceType = priceType;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getPremium() {
        return premium;
    }

    public void setPremium(String premium) {
        this.premium = premium;
    }

    public String getLastQuantity() {
        return lastQuantity;
    }

    public void setLastQuantity(String lastQuantity) {
        this.lastQuantity = lastQuantity;
    }

    public String getQuantity() {
        return quantity;
    }

    public void setQuantity(String quantity) {
        this.quantity = quantity;
    }

    public String getFrozenQuantity() {
        return frozenQuantity;
    }

    public void setFrozenQuantity(String frozenQuantity) {
        this.frozenQuantity = frozenQuantity;
    }

    public String getExecutedQuantity() {
        return executedQuantity;
    }

    public void setExecutedQuantity(String executedQuantity) {
        this.executedQuantity = executedQuantity;
    }

    public String getMinAmount() {
        return minAmount;
    }

    public void setMinAmount(String minAmount) {
        this.minAmount = minAmount;
    }

    public String getMaxAmount() {
        return maxAmount;
    }

    public void setMaxAmount(String maxAmount) {
        this.maxAmount = maxAmount;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public int getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(int orderNum) {
        this.orderNum = orderNum;
    }

    public int getFinishNum() {
        return finishNum;
    }

    public void setFinishNum(int finishNum) {
        this.finishNum = finishNum;
    }

    public int getRecentOrderNum() {
        return recentOrderNum;
    }

    public void setRecentOrderNum(int recentOrderNum) {
        this.recentOrderNum = recentOrderNum;
    }

    public int getRecentExecuteRate() {
        return recentExecuteRate;
    }

    public void setRecentExecuteRate(int recentExecuteRate) {
        this.recentExecuteRate = recentExecuteRate;
    }

    public List<Integer> getPayments() {
        return payments;
    }

    public void setPayments(List<Integer> payments) {
        this.payments = payments;
    }

    public List<PaymentTermsBean> getPaymentTerms() {
        return paymentTerms;
    }

    public void setPaymentTerms(List<PaymentTermsBean> paymentTerms) {
        this.paymentTerms = paymentTerms;
    }

    public static class PaymentTermsBean {
        /**
         * realName : 江 旭
         * paymentType : 0
         * bankName : ABC
         * branchName :
         * accountNo : 5289311370635965
         * qrcode : /s_api/os//s_api/os//s_api/os/89741120451903488/dhzETpDp7lJJzmYJDjT3AhnIhNsAEmW4w2uoj8c9KOc.png?e=1541928661&token=6A12nkXTSgvKakAnP6LrxKEvz0HB0y-bMVE-b-XuOMU=?e=1541935267&token=jkG0yfVGIR7tCXFWUQ1-Lyhrey-J8suFMuOPkxR-mRA=?e=1547713104&token=7-SH9wtjwQUmzJ1Zj4nxeqA9Qoo67JOWmK4Mn4bJwZs=
         * visible : 0
         */

        private String realName;
        private int paymentType;
        private String bankName;
        private String branchName;
        private String accountNo;
        private String qrcode;
        private int visible;

        public String getRealName() {
            return realName;
        }

        public void setRealName(String realName) {
            this.realName = realName;
        }

        public int getPaymentType() {
            return paymentType;
        }

        public void setPaymentType(int paymentType) {
            this.paymentType = paymentType;
        }

        public String getBankName() {
            return bankName;
        }

        public void setBankName(String bankName) {
            this.bankName = bankName;
        }

        public String getBranchName() {
            return branchName;
        }

        public void setBranchName(String branchName) {
            this.branchName = branchName;
        }

        public String getAccountNo() {
            return accountNo;
        }

        public void setAccountNo(String accountNo) {
            this.accountNo = accountNo;
        }

        public String getQrcode() {
            return qrcode;
        }

        public void setQrcode(String qrcode) {
            this.qrcode = qrcode;
        }

        public int getVisible() {
            return visible;
        }

        public void setVisible(int visible) {
            this.visible = visible;
        }
    }
}
